package team.you.ticket.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import team.you.ticket.pojo.EchartsList;
import team.you.ticket.pojo.Result;
import team.you.ticket.service.TypeService;

@Controller
@RequestMapping("/type")
public class TypeCtrl {
    @Autowired
    private TypeService typeService;
    @ResponseBody
    @RequestMapping("/echarts")
    private Result echarts()
    {
        return typeService.echarts();
    }
}
